package com.open.capacity.common.model;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;

/**
 * 称号类型表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class TitleType {
    /**
     * 称号类型id
     */
    private Integer tttpid;

    /**
     * 类型名
     */
    private String tpname;

    /**
     * 类型Code
     */
    private String tpCode;

    /**
     * 数据状态 1:正常 2:逻辑删除
     */
    @TableLogic(value = "1",delval = "2")
    private Integer status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date cretim;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updtim;


}
